Dompdf\Css\Style D

Total Complexity 514
Dependencies 6
Dependents 4
Total lines 3,574
Lines of code 1,771
Logical lines of code 1,058
Comment lines 773
Methods 158
Properties 25

Methods 158

Method Rating Maintainability Complexity Lines of code
set_prop()
C
36 28 71
_get_transform()
C
35 23 92
_compute_size()
B
44 21 43
_set_font()
B
40 20 52
_compute_background_position()
B
41 18 62
single_length_in_pt()
B
39 18 61
__construct()
B
25
7 212
resolve_border_radius()
A
42 13 56
_set_background()
A
47 14 33
_compute_display()
A
50 12 30
_get_font_family()
A
45 10 43
_compute_font_size()
A
51 11 26
inherit()
A
49 10 32
__get()
A
48 9 32
clear_cache()
A
58 9 17
_compute_background_size()
A
54 8 21
merge()
S
54 7 21
parse_border_side()
S
56 7 18
_set_list_style()
S
48 6 33
compute_line_width()
S
56 7 17
debug_print()
S
50 6 29
length_in_pt()
S
54 6 20
compute_prop()
S
55 6 19
set_quad_shorthand()
S
55 5 20
__set()
S
56 5 18
set_used()
S
57 5 16
_compute_border_spacing()
S
59 5 14
_compute_line_height()
S
62 5 11
_get_transform_origin()
S
57 4 16
parse_counter_prop()
S
57 4 15
_compute_text_align()
S
60 4 13
get_color_value()
S
62 4 11
is_color_value()
S
69 4 6
compute_length_percentage_positive()
S
67 4 7
compute_color_value()
S
65 4 9
_compute_opacity()
S
61 3 11
parse_property_value()
S
57 2 17
compute_length_positive()
S
74 3 4
compute_length_percentage()
S
68 3 7
_compute_page_break_before()
S
71 3 6
_compute_font_weight()
S
66 3 9
_compute_page_break_after()
S
71 3 6
_compute_min_width()
S
71 3 6
_compute_min_height()
S
71 3 6
_compute_max_height()
S
71 3 6
compute_margin()
S
67 3 9
_get_content()
S
71 3 6
_compute_max_width()
S
71 3 6
get_specified()
S
64 3 9
_get_line_height()
S
64 3 10
computed_bottom_spacing()
S
62 2 13
_set_border()
S
62 2 12
has_border_radius()
S
62 2 11
get_border_properties()
S
54 1 24
_get_outline_style()
S
79 2 3
_compute_width()
S
72 2 6
_compute_height()
S
72 2 6
_get_letter_spacing()
S
68 2 7
_get_word_spacing()
S
68 2 7
compute_box_inset()
S
72 2 6
_get_outline()
S
69 2 6
set_border_side()
S
68 2 7
compute_padding()
S
71 2 6
reset()
S
71 2 6
_set_outline()
S
68 2 7
_compute_outline_style()
S
77 2 3
_compute_list_style_image()
S
67 2 8
parse_image_resolution()
S
68 2 7
computed()
S
66 2 8
_compute_z_index()
S
72 2 6
__toString()
S
68 2 7
_compute_letter_spacing()
S
71 2 6
_compute_word_spacing()
S
71 2 6
is_absolute()
S
75 2 4
_get_counter_increment()
S
71 2 6
get_border_side()
S
68 2 6
compute_border_style()
S
77 2 3
_get_counter_reset()
S
71 2 6
compute_length()
S
72 2 5
_compute_background_repeat()
S
73 2 4
_compute_background_image()
S
67 2 8
_compute_background_attachment()
S
73 2 4
is_in_flow()
S
74 2 4
compute_integer()
S
69 2 6
_compute_border_top_width()
S
79 1 3
_set_border_width()
S
79 1 3
_compute_border_bottom_style()
S
80 1 3
_compute_border_right_width()
S
79 1 3
_compute_border_right_style()
S
80 1 3
_compute_border_bottom_width()
S
79 1 3
_compute_border_left_style()
S
80 1 3
_set_border_radius()
S
79 1 3
_compute_border_top_style()
S
80 1 3
_compute_border_top_left_radius()
S
80 1 3
_set_border_style()
S
79 1 3
_compute_border_top_right_radius()
S
80 1 3
_compute_border_bottom_right_radius()
S
80 1 3
_compute_border_bottom_left_radius()
S
80 1 3
_compute_border_left_width()
S
79 1 3
munge_color()
S
80 1 3
_compute_outline_color()
S
80 1 3
_compute_image_resolution()
S
80 1 3
_get_list_style_image()
S
80 1 3
getFontMetrics()
S
82 1 3
setFontMetrics()
S
77 1 4
_get_outline_color()
S
80 1 3
_compute_widows()
S
80 1 3
_compute_orphans()
S
80 1 3
_compute_background_image_resolution()
S
80 1 3
_compute_outline_width()
S
79 1 3
_get_border_left()
S
80 1 3
set_media_queries()
S
81 1 3
get_media_queries()
S
82 1 3
set_frame()
S
81 1 3
_get_border_bottom()
S
80 1 3
_compute_border_bottom_color()
S
80 1 3
_compute_outline_offset()
S
80 1 3
_compute_border_left_color()
S
80 1 3
_set_border_left()
S
79 1 3
_compute_border_right_color()
S
80 1 3
_get_color()
S
79 1 3
_compute_bottom()
S
80 1 3
_compute_right()
S
80 1 3
_compute_top()
S
80 1 3
_set_inset()
S
79 1 3
_get_border_left_color()
S
80 1 3
_compute_color()
S
80 1 3
_compute_background_color()
S
80 1 3
_get_background_color()
S
80 1 3
_set_margin()
S
79 1 3
_get_background_image()
S
80 1 3
_compute_text_indent()
S
80 1 3
_get_border_top_color()
S
80 1 3
_get_border_right_color()
S
80 1 3
set_origin()
S
81 1 3
_get_border_bottom_color()
S
80 1 3
get_origin()
S
82 1 3
_compute_left()
S
80 1 3
get_font_family_raw()
S
78 1 3
_compute_border_top_color()
S
80 1 3
get_frame()
S
82 1 3
_set_border_color()
S
79 1 3
get_stylesheet()
S
82 1 3
_set_border_bottom()
S
79 1 3
_set_border_right()
S
79 1 3
_set_border_top()
S
79 1 3
_get_border_right()
S
80 1 3
_get_border_top()
S
80 1 3
_compute_padding_left()
S
80 1 3
_compute_margin_top()
S
80 1 3
_compute_padding_bottom()
S
80 1 3
_compute_padding_right()
S
80 1 3
_compute_padding_top()
S
80 1 3
clear_important()
S
81 1 3
_compute_margin_left()
S
80 1 3
_compute_margin_bottom()
S
80 1 3
_compute_margin_right()
S
80 1 3
_set_padding()
S
79 1 3